package com.ecgsystem.constants;

/**
 * TODO Put here a description of what this class does.
 * 
 * @author ANHTUAN. Created Sep 24, 2012.
 */
public interface Constants {
	/*
	 * Constant in Connection class
	 */

	public final String NAMESPACE = "http://tempuri.org/";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME1 = "getUserByUsernamePassword";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME2 = "getAllPatient";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME3 = "getAllRecordByPID";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME4 = "loadECGRawRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME5 = "loadECGRecord12";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME6 = "loadAFrameFromRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String METHOD_NAME7 = "getRecordByID";

	public final String METHOD_NAME8 = "getCommentContent";

	public final String METHOD_NAME9 = "addNewComment";

	public final String METHOD_NAME10 = "editComment";

	public final String METHOD_NAME11 = "getUnusualSignalOfRecord";
	
	public final String METHOD_NAME12 = "getUnusualSignal";
	
	public final String METHOD_NAME13 = "getPatientByID";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION1 = "http://tempuri.org/IECGService/getUserByUsernamePassword";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION2 = "http://tempuri.org/IECGService/getAllPatient";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION3 = "http://tempuri.org/IECGService/getAllRecordByPID";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION4 = "http://tempuri.org/IECGService/loadECGRawRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION5 = "http://tempuri.org/IECGService/loadECGRecord12";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION6 = "http://tempuri.org/IECGService/loadAFrameFromRecord";
	/**
	 * TODO Put here a description of this field.
	 */
	public final String SOAP_ACTION7 = "http://tempuri.org/IECGService/getRecordByID";

	public final String SOAP_ACTION8 = "http://tempuri.org/IECGService/getCommentContent";

	public final String SOAP_ACTION9 = "http://tempuri.org/IECGService/addNewComment";

	public final String SOAP_ACTION10 = "http://tempuri.org/IECGService/editComment";

	public final String SOAP_ACTION11 = "http://tempuri.org/IECGService/getUnusualSignalOfRecord";

	public final String SOAP_ACTION12 = "http://tempuri.org/IECGService/getUnusualSignal";

	public final String SOAP_ACTION13 = "http://tempuri.org/IECGService/getPatientByID";

	/**
	 * TODO Put here a description of this field.
	 */
	public final String URL = "http://ecgproject.somee.com/ECGServices/ECGService.svc";

	/**
	 * TODO Put here a description of this field.
	 */
	public final int SERVER_READY = 1;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int NO_WORKSTATION = 2;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int STOP_SEND = 3;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int CANNOT_CONNECT_SERVER = 4;

	/**
	 * TODO Put here a description of this field.
	 */

	public final String[] TYPE_ECG = { "I", "II", "II", "aVR", "aVL", "aVF",
			"V1", "V2", "V3", "V4", "V5", "V6" };

	/**
	 * TODO Put here a description of this field.
	 */
	public final int CONNECTION_ERR = 2;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int WRONG_PASSWD = 1;
	/**
	 * TODO Put here a description of this field.
	 */
	public final int OK = 0;

	/**
	 * TODO Put here a description of this field.
	 */
	public final int TEXT_ECG_SIZE = 14;

	/**
	 * TODO Put here a description of this field.
	 */
	public final int SLEEPPING_TIME = 0;
	public final int NUM_OF_SIGNAL_DRAWED = 40;

	public static final String PREFS_NAME = "MyPrefsFile";
	public static final String PREF_USERNAME = "username";
	public static final String PREF_PASSWORD = "password";
	public static final String PREFS_REMMEMBER = "rememberMe";

	public static final String TAG_PATIENT_ID = "patientID";
	public static final String TAG_PATIENT_NAME = "patientName";
	public static final String TAG_PATIENT_AGE = "patientAge";
	public static final String TAG_GENDER = "gender";

	public static final String TAG_RECORD_ID = "recordID";
	public static final String TAG_RECORD_DATE = "dateTimeOfRecord";
	public static final String TAG_RECORD_DIR = "recordDIr";

	public static final String PREFS_SERVER = "ServerName";
	public static final String PREFS_UDPPORT = "UdpPort";
	public static final String PREFS_TCPPORT = "TcpPort";

	public static final String TAG_START_TIME = "startTime";
	public static final String TAG_END_TIME = "endTime";
	public static final String TAG_HEART_RATE = "hr";
	public static final String TAG_QR = "qr";
	public static final String TAG_QRS = "qrs";
	public static final String TAG_R = "r";
	public static final String TAG_RS = "rs";
	public static final String TAG_UNUSUALSIGNAL_ID = "id";
}
